const org = {
    path: 'org',
    component: () => import('@/views/org/container.vue'),
    meta: {
        title: '组织架构'
    },
    children: [
        {
            path: 'dept',
            component: () => import('@/views/org/dept.vue'),
            meta: {
                title: '部门'
            }
        },
        {
            path: 'duty',
            component: () => import('@/views/org/duty.vue'),
            meta: {
                title: '岗位'
            }
        },
        {
            path:'adduser/:id',
            component:()=>import('@/views/org/adduser.vue'),
            meta:{
                title:'添加用户'
            }
        },
        {
            path:'adddept/:id',
            component:()=>import('@/views/org/adddept.vue'),
            meta:{
                title:'添加部门'
            }
        },{
            path:'updatedept/:id',
            component:()=>import('@/views/org/updatedept.vue'),
            meta:{
                title:'修改部门详情'
            }
        }
      
    ]
};

export default org